change direction of view in the layout